import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';
import direct from '@dfeidao/atom-web/url/direct-to';

export default async function a004(fd: IFeidaoAiBrowserComponent, args: { currentTarget: HTMLElement }) {
	const data = JSON.parse(args.currentTarget.getAttribute('data-id'));
	console.log(data);
	const risk_no = data.risk_no;
	console.log(risk_no);
	direct('./risk-control.html', { risk_no });   // todo
}
